//
//  UIColor+Extension.h
//  OMTCoreKit
//
//  Created by 昭荣伊 on 2018/7/27.
//

#import <UIKit/UIKit.h>

//十六进制颜色
#ifndef HexColor
#define HexColor(_hex_) [UIColor colorWithRed:((_hex_ >> 16) & 0x000000FF)/255.0f            \
green:((_hex_ >> 8) & 0x000000FF)/255.0f    \
blue:((_hex_) & 0x000000FF)/255.0f            \
alpha:1.0]
#endif

#ifndef RGBA
#define RGBA(r,g,b,a)    [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#endif

#ifndef RGB
#define RGB(r,g,b)        [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:1]
#endif


@interface UIColor (Extension)

@end
